package cool.tianyou.blue.bird.common.model.entity;

import javax.websocket.Session;
import lombok.Data;

/**
 * @author Liutianyou
 * @date 2021/7/17 10:16 下午
 */
@Data
public class HeartBeatSession {
    private long lastBeatTime;
    private Session session;

    public HeartBeatSession(Session session) {
        this.session = session;
        this.lastBeatTime = System.currentTimeMillis();
    }
}
